import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-comprehensive-service',
  templateUrl: './comprehensive-service.component.html',
  styleUrls: ['./comprehensive-service.component.scss']
})
export class ComprehensiveServiceComponent implements OnInit {

  constructor(
    private router: Router
  ) { }

  ngOnInit(): void {
  }

  goInformation(type: any){
    this.router.navigate(['/information/list'], { queryParams: { type } })
  }

  goHallAddress(){
    this.router.navigate(['/information/hall-address'], { queryParams: { type: 'YYWD' } })
  }

}
